public class TV {
    public int channel;
    public void setChannel(int channel) {
        this.channel = channel;
    }
    public int getChannel() {
        return channel;
    }
    public void showProgram(int m){
        if(m==5){
            System.out.println("体育频道");
        }else {
            System.out.println("经济频道");
        }
    }
}
